package com.sc.nft.mapper;

import com.sc.nft.entity.ActivityTask;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxy
 * @since 2023-09-13
 */
public interface ActivityTaskMapper extends BaseMapper<ActivityTask> {

    List<ActivityTask> goingTask(@Param("type") Integer type,@Param("collectionId") Long collectionId);

    List<ActivityTask> getTaskByActivityId(@Param("activityId") Long activityId);
}
